package com.game.service.game.redblack;

import java.util.Arrays;

public class RedBlackConfig {
    private float redOdds;//红色赔率
    private float blackOdds;//黑色赔率 ,
    private float kill;//抽杀机率(以百为底)kill=2.0,抽杀为2.0%,;(1.95+1.95)/4=97.5%,抽杀设置为2%庄家返奖率下降2%，即95.75%
    private int lucky;//标记玩家是否幸运用户百分比,默认100%。(控制玩家新号刷分)
    private int roomRatio;//房间倍率
    private float protect;//新手保护机率
    private int protectCounts;//新手保护次数
    private int[] betArray;//动态押注按钮
    /**
     * 动态押注抽杀数组,配合(基础抽杀)使用,
     * 全程生效(保护期间除外,基础抽杀 + 动态抽杀) 参数配置时需要先验证可行
     */
    private float[] betArrayKill;//动态押注的抽杀机率
    /**
     * 动态新手保护数组,配合(保护次数)使用,
     * 新手保护期间时生效(基础保护 + 动态保护),参数配置时需要先验证可行
     */
    private float[] betArrayProtect;//动态押注的保护机率,配合新手保护次数使用

    public float getRedOdds() {
        return redOdds;
    }

    public void setRedOdds(float redOdds) {
        this.redOdds = redOdds;
    }

    public float getBlackOdds() {
        return blackOdds;
    }

    public void setBlackOdds(float blackOdds) {
        this.blackOdds = blackOdds;
    }

    public float getKill() {
        return kill;
    }

    public void setKill(float kill) {
        this.kill = kill;
    }

    public int[] getBetArray() {
        return betArray;
    }

    public void setBetArray(int[] betArray) {
        this.betArray = betArray;
    }

    public int getRoomRatio() {
        return roomRatio;
    }

    public void setRoomRatio(int roomRatio) {
        this.roomRatio = roomRatio;
    }

    public float getProtect() {
        return protect;
    }

    public void setProtect(float protect) {
        this.protect = protect;
    }




    public int getProtectCounts() {
        return protectCounts;
    }

    public void setProtectCounts(int protectCounts) {
        this.protectCounts = protectCounts;
    }


    public int getLucky() {
        return lucky;
    }

    public void setLucky(int lucky) {
        this.lucky = lucky;
    }

    public float[] getBetArrayProtect() {
        return betArrayProtect;
    }

    public void setBetArrayProtect(float[] betArrayProtect) {
        this.betArrayProtect = betArrayProtect;
    }

    public float[] getBetArrayKill() {
        return betArrayKill;
    }

    public void setBetArrayKill(float[] betArrayKill) {
        this.betArrayKill = betArrayKill;
    }


    @Override
    public String toString() {
        return "RedBlackConfig{" +
                "redOdds=" + redOdds +
                ", blackOdds=" + blackOdds +
                ", kill=" + kill +
                ", lucky=" + lucky +
                ", roomRatio=" + roomRatio +
                ", protect=" + protect +
                ", protectCounts=" + protectCounts +
                ", betArray=" + Arrays.toString(betArray) +
                ", betArrayKill=" + Arrays.toString(betArrayKill) +
                ", betArrayProtect=" + Arrays.toString(betArrayProtect) +
                '}';
    }
}
